This example makes use of the MPI_PROC_NULL destination value for the right neigbor of the last process in the ring (the one with rank equal to size - 1).