Move randomBetween func into lib.