public static void center(String s, PrintWriter pw) {
    int indent = (WIDTH / 2) - (s.length() / 2);
    for (int i = 0; i < indent; i++) {
      pw.print(" ");
    }
    pw.println(s);
  }
Centers the given string on the <code>PrintWriter</code>

@param s the string to center
@param pw the <code>PrintWriter</code> to print with
geode-junit/src/main/java/perffmwk/Formatter.java