elementary cellular automaton : general idea