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.
did you considered a function to just handle upper letters?