C++ tutorial example file added
to gracefully close a console