parser.cpp

this is the parser, gets in parameters the line as string, and returns the result in a structure parsedLine