MPI-C++ program for Dirichlet problem