Generator of a stream with a given surprise rate