Ruby version of Conway's Game of Life