Refactoring StronglyConnectedComponents.h