Basic hash table for C