adding file add.cpp