added printAst and update gitignore