solved exercise 1.9
solved exercise 1.10