Create rotate.cpp