Added a if statement for visited nodes in Dijkstra
Corrected testGetTemps()