Adding a new constructor to MineField class that permits to specify 
mines position and exporting the code that calculates cell
contents according to mines position in a new private method.