DONE: connected_components.py