Regular Languages & Finite Automata (Solved Problem 4)