conway's game of life in Ruby