istappend(struct ist, char)
This function appends the given char to the given `ist` and returns the resulting `ist`.