public static void addIfNotEmpty(Set container, String str, int distance, String description){
        if (str.length() > 0) {
            if (!container.contains(str)) {
                container.add( new Word(str, distance));
//                System.out.println("Adding new word : [" + description + "] " + str);
            }
        }
    }