Finite State Automaton with CAs