Python example of a gradebook setup with use of dictionaries, lists, and functions