Java library to generate a batch of 1000 randomly pin codes
- Create a library which generates a batch of 1000 randomly generated pin codes.
- each pin code in the batch needs to be unique.
- the pin code cannot have two consecutive numbers which are the same, e.g. 1186,8229,or 5188
- the pin code cannot have three consecutive numbers which are sequential, e.g. 5123,4562