added comparator and Priorityqueue to DijkstraShortestPath