fixed some things and finished interactive python chap. 5