adding a method which places a specified number of mines around the
minefield