Animated Cellular Automata using Matplotlib