initial commit of examples from chapter 5