Define a function assignGrindToShot(grinds, shots). It receives two arrays: - grinds: `{id, startTime, grinderName, aborted}` - shots: `{id, startTime, groupHeadName, recipe}` Return an array of assignment pairs: [{grindId, shotId}].
assignGrindToShot(grinds, shots)
grinds
shots
[{grindId, shotId}]