Copy/pasted challenge7.py into repo