added solution #15 in Python