Solution for interleaving string