Update try.cpp

Added "add" funcation
Merge pull request #1 from khushbu-saner/khush-try1

Update try.cpp