Create parser.cpp

First version