Added support to convert the generated NFA to a DFA. DFA minimization remains to be done.