The 1D  Stencil Source Code

Source taken from
http://people.sc.fsu.edu/~jburkardt/c_src/heat_mpi/heat_mpi.html