add exercise for ch05