char *table = (char *) malloc( (limit + 1) * sizeof(char) );