Create class_extend2.cpp