some C++ homework assignments