Random homework, and other silly things I write in Python