add chap03 samples