Dylan's solution for problem 1
Merge pull request #1 from Eulerites/1

Dylan's solution for problem 1