Update ex.1.7
Exercise 1.8.