add naive implementation of dijkstra shortest path algorithm