Update BinaryTree.java

Adding more functions