Added challenge #38 (intermediate) in Python