Updated chapter 6, starting to rewrite chapter 7, and added review environment.