Adds djikstra shortest path algorithm