This generates a random 3-digit number. It can catch invalids. It has a 1 in 4 chance of making a negative number