minesweeper functinality working