cleaned up minesweeper