AST improvement

# completed print functions