Adds exercise 6 plus the solution.
Merge pull request #43 from AndreG-P/master

Adds exercise 6 plus the solution.