worked more on degree centrality