Context Free Grammar simplifier/Chomsky converter for CS 410