Update BinaryTree.java

Change tree transversal to return strings instead of printing their results in a line