string class: insert(), iteratir, recursively apply memory for vector