Implementing Dijsktra algorithm with a Priority Queue (SPL), faster when large number of nodes/edges