adding haskell versions for problem 1 & 2