getName() is added to Grammar
NullPointerException in GrammarInterpretter fixed.