simple example of cellular automata, visualized through html5