Game of Life in ruby