Create smartPointer.cpp