Get random value in range