Added exercises from ch. 6