Edited ast

Added print section for ast