[Chapter 4] Added chapter 4 to main file