cleanedup tests and added a call to the java compiler to test if the generated code compiles
added new feature to display the tree with a show goal