Use MPI to implement Stencil pattern