Added notes to add.cpp

Added some notes to add.cpp for some explanation.