adding chapter 2 samples from page 33 to end

BUG=

Review URL: https://chromiumcodereview.appspot.com/12383035