Starting random number function