C++ Practice programs, small ones