Homeworks for C++ lessons