A graph library in Haskell