Minesweeper logic working.