Add examples for problems in Chapters 2 and 3.