assignment3a.py and assignment3b.py