Added a random integer generator for klofip
added a random integer generator for klofip