chunkd

Get a chunk of an array based on the total number of chunks and current index