Initial implementation of the Dijkstra's algorithm.
Finalized Dijkstra's algorithm, and imlpementedthe HMCOP algorithm.