Add function for random number within a range