public static String[] getWords (String s) {
    	String [] allWords = new String[26*s.length()];
    	for (int i = 0; i < s.length(); i++) {
    		char[] S = s.toCharArray();
    		for (char c = 'a'; c <= 'z'; c++) {
    			S[i] = c;
    			//System.out.println(i*26+c-'a');
    			allWords[i*26+c-'a'] = String.valueOf(S);
    		}
    	}
    	return allWords;
    }