Algorithm precision improved (a DijkstrasAlgorithm object now takes the two needed nodes as parameters, plus the graph, for the constructor).