Hashmap Data Structure In Python