Complete 'Hashes' exercise 5