dailyprogrammer-278 Attempt to solve challenge #278 using a functional programming pproach in Erlang and Haskell. Permalink: https://goo.gl/oi1cMw