PHP code for problem 7
Merge pull request #7 from joetech/p7

PHP code for problem 7