Added some javadocs and a method in BinaryTree