private void calculateMinesTouched(int coordX, int coordY) {
		if (cellArray[coordX][coordY].type != Cell.CellType.MINE) {
			int startingValueX = -1;
			int startingValueY = -1;
			int endingValueX = 1;
			int endingValueY = 1;

			int nbOfMinesTouched = 0;

			if (coordX == 0) {
				startingValueX = 0;
			} else if (coordX == sizeX - 1) {
				endingValueX = 0;
			}

			if (coordY == 0) {
				startingValueY = 0;
			} else if (coordY == sizeY - 1) {
				endingValueY = 0;
			}

			for (int i = startingValueX; i <= endingValueX; i++) {
				for (int j = startingValueY; j <= endingValueY; j++) {
					if (cellArray[coordX + i][coordY + j].type == Cell.CellType.MINE) {
						nbOfMinesTouched++;
					}
				}
			}

			this.cellArray[coordX][coordY].setNbOfMinesTouched(nbOfMinesTouched);
		}
	}