Initial implementation of a new task type: 'parallel foreach'