My implementation of dynamic strings