protected static String pumpString(String s, int i)
    {
        StringBuffer sb = new StringBuffer();
        for(int n = i; n > 0; n--)
            sb.append(s);
        return sb.toString();
    }