Create cycle.cpp