added DijkstraNode class