Example test grammars

here are some sample grammars that demonstrate some of the properties of various parsers used in Earley parser literature; along with a script to run a grammar on a given input and dump the parse charts