Implementation of the lapply function using a grid scheduler.
This version of qapply can be found in the following snapshots: