Minor fixes of typos at comments and exception messages

Improved the comments at addNumAfter and subtractNumAfter, fix typo "substract"
at the exception message of subtractNumAfter.