added chapter 5

Chapter 5 is almost complete