Modified notebook for Chapter 2.