random number auto increase

the random number will automatically increase as the array gets bigger