Added solution for Problem 44 in Python