Ruby Conway's game of life implementation