private int calculateNumberOfFaults(){
		int numberOfFaults = 0;
		for (int i = 0; i < board.length; i++) {
			if (!isColumnLegal(i))
				numberOfFaults++;
			if (!isRowLegal(i))
				numberOfFaults++;
			if (!isDiagonalLegalRightToLeft(0, i))
				numberOfFaults++;
			if (i > 0 && !isDiagonalLegalRightToLeft(i, board[0].length-1))
				numberOfFaults++;
			if (!isDiagonalLegalLeftToRight(0, i))
				numberOfFaults++;
			if (i > 0 && !isDiagonalLegalLeftToRight(i, 0));
		}
		return numberOfFaults;
	}