Completed exercise 31 Python hardway course