Solved problem 01 using Haskell