Wrote sample C++ programs