Create shape_detect_modified.cpp