Support for grammar.py

Included grammar.py, which is a generalized cfg loading interface for
all parsing algorithms I'm going to implement. This now allows for
multi-symbol constituents. Also reverted a-calc.gr back to the original
grammar given bei Earley in his paper.