input: Write a function to randomize a list of given integers using an optimized Fisher-Yates algorithm.
  def randomized_list(num_list):
      for i in range(len(num_list)-1,0,-1):
          j = random.randint(0,i)
          num_list[i],num_list[j] = num_list[j],num_list[i]
      return num_list
  
  assert randomized_list([1, 2, 3, 4, 5]) != [1, 2, 3, 4, 5]
  assert len(randomized_list([1, 2, 3])) == 3
  assert len(randomized_list([])) == 0
  assert sorted(randomized_list([5, 3, 1, 2, 4])) == [1, 2, 3, 4, 5]
output: import random
  
  def randomized_list(num_list):
      for i in range(len(num_list)-1,0,-1):
          j = random.randint(0,i)
          num_list[i],num_list[j] = num_list[j],num_list[i]
      return num_list