added toString() to AST elements for testing,
some minor fixes/improvements