refactoring grammar data structures / updated parsing table / added
grammar symbol classes