App used for converting DFA to Regex