Adding entryofloop.cpp