Working Parser code

I attempted to move the had_quote variable into .h file but it causes segmentation fault when called that way. I ran gdb on rohan and that seemed to be the only location that was having the issue.