added articulation point in linear time