Added Ch5 examples from the text.