Add solutions for chapter 5.

@fabioyamate, @laurocaetano I'm so sleepy that I don't remember where I had to change on the last exercise, haha.
I'm pretty sure that `$` is more common but I don't know if there are cases where `()` is preferable.

It's exactly like you said, `$` is more cleaner than the version with `()`.