minesweeper game to calculate mines probability