[cs] revision of chapter 4 finished

The first four chapters fully synchronized and up-to-date with the original.

Note: See the https://github.com/pepr/progitSync project that makes the synchronization and keeping it up-to-date easier (warning, the Python 3 programming language).