created Barn Repair.cpp