An implementation of the minesweeper code kata