Game of life in CoffeeScript