shared key dictionary exercise