test=peripheral.wrap("emptyinventory_2")
for i=1,test.getInventorySize() do
  if test.getStackInSlot(i) then
  print(i)
  test.pushItem("south",i,100) end
end
