cellular automata addition