Create reduce.cc