input: Write a function to move all zeros in a list to the end.
  assert move_zeroes([0, 1, 0, 3, 12]) == [1, 3, 12, 0, 0]
  assert move_zeroes([1, 0, 2, 0, 3, 0, 4, 5, 0]) == [1, 2, 3, 4, 5, 0, 0, 0, 0]
  assert move_zeroes([0, 0, 0, 1, 2, 3]) == [1, 2, 3, 0, 0, 0]
output: def move_zeroes(nums):
      non_zeroes = [num for num in nums if num != 0]
      zeroes = [num for num in nums if num == 0]
      return non_zeroes + zeroes