Added homework 5 Python solution.