put the new code into Minesweeper