first portion of chapter 2
remoce chapter 2 in python