Cluster formation over adaptive networks with selfish agents