Create consecutive.cpp