hash table like in the Lua implement with ansi c