dir cellular automata