Code examples from a book