Leader Election using MPI