Models a simple hash table with list-based chaining and optional resizing.