Complete 'Hashes' exercise 3