My home work for c++course