Add Haskell solution to Problem #64.

I found this one to be quite a bit trickier than I expected. I don't
know why, but I had a hard time wrapping my head around it.