added zrand

dummy util for generating randoms