Create Problem1.py

Python solution