Java implementation of Dijkstra with PriorityQueue.
Purpose : self study