Graphs -> articulationPointsAndBridges algorithm implementation.