clustered_graphs function

Cluster ego-centered networks by a grouping factor