Added Haskell solution for problem #5.
Added Haskell solution for problem #6.