Added Function that lets the user convert DFA to Regex