imported pure c version. imported MPI example from http://mpitutorial.com/mpi-hello-world/. made it MPI-run on my system in xcode.