Split chapter 3 exmaples into new file