Implement hash_table_delete function.