Finish chapter7exercises