The game of life (conway) with HTML canvas