Added most methods for ParseTree2AST

Added the methods that were needed for test1