Add dijkstra subpackage to calculate shortest paths from links table.