code: private static String reverseString(String in) {
          StringBuilder out = new StringBuilder(in).reverse();
          return out.toString();
      }
docs: This method takes a string as input reverses it and returns the result
  
  @param in the string to be reversed
  @return the reversed string