mk_swapping_function function

Create function to propose swaps of samples on each call, either with a constant number of swaps or following a user defined protocol