Create random_treated.cpp