code: @SuppressWarnings("unchecked")
      private static PermutationFunction<TernaryVector> loadPermutationFunction(
              String className) {
          try {
              Class clazz = Class.forName(className);
              return (PermutationFunction<TernaryVector>)(clazz.newInstance());
          } catch (Exception e) {
              // catch all of the exception and rethrow them as an error
              throw new Error(e);
          }
      }
docs: Returns an instance of the the provided class name, that implements
  {@code PermutationFunction}.
  
  @param className the fully qualified name of a class