Finite Automata to Regular Expression