Convert Regular Expression To DFA