Finish Chapter7 exercises