Create fence4.cpp