Solve problems 14,16,20,22,25 using Haskell.