Revert "Delete add.cpp"

This reverts commit 107ded9a1b40e807465938b83f80f8e4fe754dc4.