PHP code for problem 10
Merge pull request #9 from joetech/p10

PHP code for problem 10