Problem 1c, dictionaries