Exercises and examples from the book