Dijkstra's Algorithm

Hi, first time contributor here. I wrote up a straightforward program to solve Dijkstra's algorithm (http://rosettacode.org/wiki/Dijkstra%27s_algorithm). 

Do let me know if there are any issues :)
I think you can derive PartialOrd too...