Addition of two whole numbers
Description: This algorithm assumes that its input
consists of two positive integers, each represented (using
base 10 notation) by a sequence of characters which we will
call "digits."
Specifically, we assume the first input number M is represented by
the digits
mj mj-1 ··· m2 m1 m0 for some j>=0
and likewise that the second input number N is repesented by digits
nk nk-1 ··· n2 n1 n0 for some k>=0
The resulting sum will also be represented by a sequence of digits,
sl sl-1 ··· s2 s1 s0 for some l>=0
Procedure:
Assumed primitives:
Michael Goldwasser
Last modified: Wed Jan 16 23:52:45 CST 2002