Added code samples of chapter 03