I am using a while loop to check if some numbers are stored in a list in order to create a unique number generator with no repeats , but when the generator has ran out of n