private String format(String s, int f)
    {
        String formatted = "";
        formatted += s;
        for(int i = s.length(); i < f; i++)
            formatted += " ";
        return formatted;
    }