* Chap 3: added basic demo and added c++11 cxxflags.