Got Dijkstra's working with the semiring for Brandes' algorithm
Pulled out most of the printlns