dofuture function

Interface for parallel computations