Added Johnson's algorithm and breadth-first all-pairs shortest path and associated tests.