private static String standardize(String line) {
        for (int i = 0; i < line.length(); i += 1) {
            if (Character.isWhitespace(line.charAt(i))
                || Character.isLetter(line.charAt(i))) {
                continue;
            } else {
                System.exit(1);
            }
        }
        String stuff = "";
        for (int i = 0; i < line.length(); i += 1) {
            if (Character.isWhitespace(line.charAt(i))) {
                continue;
            } else if (Character.isUpperCase(line.charAt(i))) {
                stuff += line.charAt(i);
            } else if (Character.isLowerCase(line.charAt(i))) {
                stuff += Character.toUpperCase(line.charAt(i));
            }
        }
        return stuff;
    }