Some fixes in chapter 2

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