Create rotatelist.cpp