input: Write a function to shuffle a list of numbers. The function should return a new list with the numbers shuffled. If the input list is empty, the function should return an empty list.
  assert shuffle_list([1, 2, 3, 4, 5])!= [1, 2, 3, 4, 5]
  assert shuffle_list([])==[]
output: import random
  
  def shuffle_list(nums):
      shuffled = nums[:]
      random.shuffle(shuffled)
      return shuffled