find nodes in an undirected graph whose deletion results in loss of connectivity