ExamplesFromChapters coding style

Using python -m autopep8 --in-place