Create Barrier.cpp