Fixes in 4th chapter

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>