code: public static <T> Iterator<T> wrap(Iterator<T> it, String task) {
          return new ProgressBarWrappedIterator<>(it, task, -1); // indefinite progress bar
      }
docs: Wraps an iterator so that when iterated, a progress bar is shown to track the traversal progress.
  @param it Underlying iterator
  @param task Task name