update to the partition-jobs function to create partitions by dumping the next item of a list into a bin.