Finalized the logic of adding a mine to the board.