Small implementation of GameOfLife