Create preorder(recursive).java