clean up AlgorithmDijkstra class