ex2.c added, compared to MPI_Reduce(using MPI_Op_create), result is same.