clusterApply function

Apply a function to a list using the cluster