codebox: rand num in range