Added Problem 7 for Python
Added Python solution for Problem 8