Adding my own solution
Merge pull request #3 from jdan/master

Test solution