Random number generator for lotteries and games etc