Added chapter 3 as a separate file