combine before and after PDF

combine before and after PDF into a third PDF called CIN, in a
specified sequence that one before page followed by an after with the
same page number.