Create safeArray.cpp