input: Write a python function to move all zeroes in a list to the end while maintaining the order of non-zero elements.
  assert move_zeroes([3, 0, 1, 0, 5, 0, 2]) == [3, 0, 1, 0, 5, 0, 2]
  assert move_zeroes([0, 1, 0, 3, 12]) == [1, 3, 12, 0, 0]
  assert move_zeroes([0, 0, 1]) == [1, 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