add code for interleaving string