add c++ primer plus 5th chapter3_exercise