Implement simple version of Game of Life.