Minesweeper Outer Algorithm (untested)