lkdsfhodf
build graph dfa from ndfa