gn_names function

Community detection using the Girvan-Newman algorithm