Sample c++ programs for practice purpose