DynAppend
int DynAppend (DynObject obj, DynPtr els, int num);
if (DynAppend(obj, random_string, strlen(random_string)+1) != DYN_OK) {