an implementation of the Game of Life