Fixed random number generator to not use leading zeros and extended random string function to also use numbers on demand