Initial implementation of NFA to DFA.