IMplemented mine counter
Refactored out Minefield class