setNumOfMines() and some test in main added
Finished issue #9