Sped up Brandes' algorithm
Switched AllPathsFirstSteps to use a Seq instead of a Set