PHP solution for problem 1
Merge pull request #5 from joetech/p1

PHP solution for problem 1