fn partition<T>(items: &[T], workers: usize) -> Vec<Vec<(usize, &T)>>
Deals the items out round-robin, each with its index in items.
items