Add shortest path algorithms