cellular automata in SciPy