project 2: onnected components and graph resilience