implement largest_cc_size
setup compute_resilience
add tests and use keys() for iterating
update