Let's implement some data structures in Haskell.