Parallelized the greedy algorithm used in submodular maximization.