Finished off zguide chapter 2 examples