Finite State Machine Vs Finite Automata