Conway's game of life Ruby