add datastructure code, hashmap