Solved exercise 1.15
Solved 1.17