Conway's game of life using comonads and played on a torus and a klein bottle