Adding a target column to the Rearrangement Algorithm