Performant and straight-forward implementation of damm checksum algorithm @see https://en.wikipedia.org/wiki/Damm_algorithm