Create middle.cpp

The code that corrects the central blocks in between the green and blue faces.