Add setters in Pair class, and rename a local variable in MineField 
class constructor