hw5.py finished.

Looks like I used a roundabout way to do this; the suggested answer is a bit shorter. I used sqll.py as my model.