added compareTo method to DijkstraNode and some getters