Add exercises for chapter 4. All task finished.