a machine that is used to make a bag