Added exercise 5.12