added rand algorithm readme part