Added code snippet for chapter 4