Finish Chapeter 5 exercises