major overhaul of centrality, now uses BFS rather than DFS, and computes first degree centrality (in / out / undirected)