Adding solution for problem 66 in python.