This is mt CPP homework_1 code