Minesweeper solution