Create reducer.cpp

Using OpenMPI