Solutions for Chapter 6

/cc @fabioyamate @laurocaetano
nice approach

I think that using `&&` is valid, because it is the same as using `++`