Small refactor in method GenerateMinesInField

In GenerateMinesInField do not edit the counter of the loop, but
continue if position is taken.
In RandomGenerator update method to receive closed interval