Updated exercise 1.5 with explanation