Added test directory structure
Added pom.xml, maven and dependencies. Fixed typo in GenericTree.java