added iter function to hash dict