Create flipO2X.cpp

Do you remember this?
This is my solution although a little long...