One of the first Python programs I ever wrote