Added code for doing LL1 parsing. Still needs testing.