Binary Tree Preorder Traversal in Java