add ch03 code.

Change-Id: I60f5812105bd0ea870f3f7cd4c80defc9803d744
Signed-off-by: Mao, Weicheng <weicheng.mao@gmail.com>