add problem 15 to php, python, and ruby