Create Iterative preorder.java