I want to program a function that swaps the element of a list given a position, for example:
original list: 10-->20-->30-->40-->50-->60