Python Hashmap Structire Example