A generator for a simple minesweeper game. The function take width and height of the map, as well as the number of the mines.
Prints out the generated map. Asterisk (*) denotes the mine and the number denotes the number of mines immediately around the given cell.