C implementation of a Tries ADT