Added a split iterator.

Creates a tuple, each containing a generator over a part of the dataset, following the given splits.