Update sample.cpp

two lines added in main().
Merge pull request #1 from sush11/sush

Update sample.cpp