equals method is added to the Alternate class. preparing for a better implementation of filtering
Failing test cases fixed.
Filters simplified. Compilation errors fixed.
Bug in Grammar.toString resolved.
Grammar.toString fixed to print nonterminal instances with an index.
Remaining changes.