ParallelVersionofBreadthFirst