Spellchecker written in Haskell