Artificial Intelligence in Haskell