public int[] BoyerMooreShiftTable(String pattern) {
		int[] shiftTable = new int[alphabet]; int patternLength = pattern.length();
		for(int aChar = 0; aChar < alphabet; aChar++) shiftTable[aChar] = -1;
		for(int patternIndex = 0; patternIndex < patternLength; patternIndex++) 
			shiftTable[pattern.charAt(patternIndex)] = patternIndex;
		return shiftTable;
	}