Parser added

Adding parser.cpp