removing trailing 'print'
some functions to debug AST classes