Completed examples till chapter 4