Dijkstra.hs path implementation and tests