list: list_swap to exchange elements