hash library written in C - using glibc's red-black tree for chaining