Create p007.py

Brute force solution