Simplistic C Hashtable implementation