simple hash set, in C