Fully debugged. Still need to implement betweenness and connected components