implemented game
refactored similar code into onOneOrAll method
promoted onEachCell to the grid
promoted doOnAllNeighbours to grid