Rewritten the ZXRandom class

added support ZXRange