Haskell: Solved problem 6
Haskell: Solved problem 3