Add 10 problem in php
Improve solution of problem-1