Solved Exercise 10.5.6

Signed-off-by: Rodrigo Dias Ferreira <rodrigodias@gmx.de>
Solved exercise 11.5.2

Signed-off-by: Rodrigo Dias Ferreira <rodrigodias@gmx.de>