Update SystemProgramming Lab2 Regex to automaton converter