Added exercise 17 with tests and solution.