How Does A Finite Automata