An International Standard Book Number program written in Java