Binary Tree Implementation Using Array In Javascript Example