Add random number generator example