Create Dijkstra Algorithm

I have used priority queue from java collections.