Duplicating code removed.

The code which initializes the board and the minefield is duplicated =>
extracted in another method.