C implementation of a Dictionary data structure