Hashmap Functions Python Code Generator