Haskell anagram application for the command line