Add one more exercise of chapter 8: A program using a dictionary.