broke into classes, verified with rspec
added rspec file
Merge pull request #4 from Rleahy22/semantic_parser

broke into classes