added minesweeper code