Text Update chapter 6

Chapter 6 started, redesigning .py files