Problem 12 Haskell
Problem 13 Haskell