add exercise of chapter 1