added code snippet for the second video of of Core C++ by Stephan T Lavavej