Fixes to algorithm that I found were needed once I tried to implement the articulation vertex search.