private int whitePosition(int i) {
		int whitePos;
		switch (i) {

		case 1:
			whitePos = 1;
			break;
		case 3:
			whitePos = 2;
			break;
		case 5:
			whitePos = 3;
			break;
		case 7:
			whitePos = 4;
			break;
		case 8:
			whitePos = 5;
			break;
		case 10:
			whitePos = 6;
			break;
		case 0:
			whitePos = 7;
			break;

		default:
			whitePos = 1;
		}
		return whitePos;
	}