private boolean checkRowOrLine(int[] toCheck){

		int[] checker = new int[toCheck.length];

		for (int i = 0; i < checker.length; i++) {
			checker[i] = 0;
		}

		for (int i = 1; i < toCheck.length +1; i++) {
			for (int j = 0; j < toCheck.length; j++) {
				if(toCheck[j] == i){
					checker[i-1]++;
				}
			}
		}

		for (int i = 0; i < checker.length; i++) {
			if(checker[i] != 1 && checker[i] != 0){ // NOTE that the Checker i different of 0 is for debug TODO remove it later
				return false;
			}
		}
		return true;
	}