Converting Karatsuba operations into strings