Problem 3 solution
Merge pull request #3 from Eulerites/dylan_3

Problem 3 solution