Create sameRhs.cpp