convert regular expression into nfa and dfa using d3!