Updated BinaryTree.java