finish chapter 4

Signed-off-by: PythonShell <pythonshell@yeah.net>