made Grammar class to hold and evaluate grammar definitions
enumerated the token nonterminals
parsed token into meaningful object