Implementing Checksum Using Python For Finance