using mpi to solve assignment on course of distributed computing