PEP8ing of Python examples for chapter 1