Create ditch.cpp