Switching to work on problem4.py