using MPI to implement game of life