working karatsuba algorithm