Create Mth to last element.cpp