Now exchange time
. Exchange is an event consisting of 3 parts
temporary = a[k]
a[k] = a
a = temporary
Add another "System - set value" action.
For the second part, to changing the value of array, add "Array - set at X" action.
And for the third and the last part of the exchange add another "Array - set at X" action