added chapter 6 of interactivepython