updated hashmap

Added iterator, rewrite remove method