Add the final chapter 4 code samples.