First working version of DijkstraPerformanceMain