wrote function to size nodes based on centrality