Added function in graph_work to find max_centrality of a node