Add Connected Components

The data generator generates random edges.