input: Write a function to move all zeroes in a list to the end of the list. The function should return the modified list. If the input list is empty, the function should return an empty list.
  assert move_zeroes([3, 0, 1, 0, 5, 0, 2])==[3, 1, 5, 2, 0, 0, 0]
  assert move_zeroes([0, 0, 0, 0, 0])==[0, 0, 0, 0, 0]
  assert move_zeroes([1, 2, 3, 4, 5])==[1, 2, 3, 4, 5]
  assert move_zeroes([])==[]
  assert move_zeroes([0, 1, 0, 2, 0, 3, 0])==[1, 2, 3, 0, 0, 0, 0]
output: def move_zeroes(lst):
      non_zeroes = [x for x in lst if x != 0]
      zeroes = [0] * (len(lst) - len(non_zeroes))
      return non_zeroes + zeroes