Top and Bottom carton machine