Projects to group any given list into a given number of nearly-equal groupings.