Add a simple iterator for hash table.
Fix resizing.