Create rotate list.cpp