finished 9.tutor.cpp