compute the sum of a and b