TreeGenerator.java added