implemented InOrder traversal for BinaryTree.