initial setup Dijkstra-code