Python Script that can investigate the robustness of a network by simulating failures and target attacks