This code checks validation of numbers based on check digits on rules followed by ISBN-10 and MPAN