Various algorithms implemented in Haskell.