Create tree.java