code: private static String getRequiredSpaces(String reference, String message) {
          StringBuilder res = new StringBuilder();
          int requiredSpaces = reference.length() - message.length() - 4;
  
          for (int i = 0; i < requiredSpaces; i++) {
              res.append(" ");
          }
  
          return res.toString();
      }
docs: Formats a message to be printed on the console
  
  @param message The line to be formatted
  @return The formatted version of {@code message}