Added exercise 2.10 with explanation