solved exercise 1.3 w4