added Tree.java