Revert "Added sample2.cpp in Other branch"

This reverts commit 3c5da3035d73161485e8f176d91a66addcbeb7b1.