Updated exercise 1.8 with explanation