Some example codes in the book.