add problem 11 to php, python, ruby