Moved randInt to util