Create InsideLoop.cpp

C++ function for RBC_Rcpp.R