Rearranged tasks in chapter 2, add pattern for examples