Parsing function partially debugged and handles basic commands correctly
Merged bug fixes from Reggie in parser code