private boolean checkPossible(CodeObject guess, int poscol, int col,
			CodeObject codeObject) {
		int poscoltemp = 0;
		int coltemp = 0;
		
		for (int i = 0; i < guess.length(); i++) {
			if (guess.getColour(i) == codeObject.getColour(i)) {
				codeObject.mark(i);
				guess.mark(i);
				poscoltemp++;
			}
		}
		
		for (int i = 0; i < guess.length(); i++) {
			for (int j = 0; j < codeObject.length(); j++) {
				if (guess.getColour(i) == codeObject.getColour(j)) {
					if (i == j) {
						break;
					}
					if (codeObject.isMarked(j) || guess.isMarked(i)) {
						continue;
					}
					guess.mark(i);
					codeObject.mark(j);
					coltemp++;
				}
			}
		}
		
		guess.reset();
		codeObject.reset();
		return poscol == poscoltemp && col == coltemp;
	}