added problem 002 (haskell)