code example of parallel programming in C using mpich library