Fixed some typos
PEP8ing of Python examples for chapter 1
Merge pull request #377 from malexer/master

Some typo and style (python examples) fixes in chapter 1