Data structure exercise (BinaryTree , Traversal)