Generate 10 digit sequence number in java