Strategy for playing minesweeper