CAS.checksum function

Test the check digit of a CAS number to confirm validity