A machine for folding carton