Basic CFGrammar Class with first_1 and follow_1 methods