Create fence.cpp