Conways game of life in ruby