Creates a Stream by invoking a supplier function repeatedly.
the supplier function.
number of items to generate.
a Stream of generated values.