added code for the initial development of the ast_generator