solved cc
Two implementations for dij, a haskell one that doesn't work and a c++ one that works :)