Create connectToRight.cpp