A Game of Life exercise