Game of Life exercise in Ruby.