Added exercises from chapter 7