add exponent program