Create demo2_marking.cpp