Simple hash table in C