a basic c++ program that I did for self learning