working for synchronous send/recv for sums (correct for 2 processes)