update 9_45, using iterator

the problem ask we use iterator, insert and append
and i update the interface, return string is not good
Today, I find that the question ask us "generate and return a new string". We should return a new string. @Mooophy 's code is completely correct. :sweat: