Exercise for looping in a dictionary.