Dijkstra's Algorithm serial version functional