Hashmap Functions Python Exercises