Conway's Game of Life drawn on a HTML5 canvas