Solutions for Chapter 6

/cc @fabioyamate @laurocaetano