Completing exercises for the Dive Into Python 3 book http://www.diveintopython3.net