Made the random number function

created a number generator that will be usedin the array to choose a
name