public static String join(String deliminator, Iterable<String> iterable) {
        StringBuilder buffer = new StringBuilder();
        for (String string : iterable) {
            buffer.append(string).append(deliminator);
        }
        if (buffer.length() < deliminator.length())
            return "";
        return buffer.toString().substring(0, buffer.length() - deliminator.length());
    }