Boggle solver done in Haskell