add haskell solutions for problems 5, 6