Mod37Correct determines if str varies from a correct 8-digit alphanumeric string by a single transposition error or a single single-digit error and, if so, returns the correct string.
The Mod37 check method adds two check characters to a 6-digit string.