initial version of game of life in Ruby