Learning Chapter 2.

close #4, close #5, close #6, close #7, close #8

Signed-off-by: Tomasz Kamiński <kaminski.tomasz.a@gmail.com>