Randomizing of a number implemented