Create PreorderTraversalSolution.java