Added exercise 3, ch3