Game of Life in Ruby