Solve Problem 20 in Haskell
Solve Problem 21 in Haskell