start working on nfa to dfa.