update 9_45, using iterator

the problem ask we use iterator, insert and append
and i update the interface, return string is not good