dictionary and key exercise