Rewriting parser
Fixing compiler errors
Adding test cases, debugging infinite loop
Adding .travis.yml