add hash table implemented by separate chaining