Wrote a parser and test code

Currently, parser is not passing tests