Updated the checkPrimes function and updated comments.
Merge pull request #1 from patela29/master

Updated the checkPrimes function and updated comments.