MPI program for Matrix product