Conway's Game of Life implemented using HTML5 and javascript