Create preorderTraversal.java