Cellular Automata in Python