Last digit calculation for ISBN-10 and ISBN-13

@igas, hi! I added correct calculation for last digit in sequence for ISBN-10 and ISBN-13. It still need a little refactoring, but it works.