Machine to box and seal carton box