Almost finished NFA to DFA conversion