added mpi testing program in C and C++ representation