added parser.cpp and updated .gitignore