A generalized OpenMP and Boost based framework for parallelizing graph iterators (or anything else)