Added betweenness centrality #781

Betweenness centrality is added
Small optimizations on closeness centrality