add chapter 3

closes #4