Switching the location of two values in a IntList

There is no such thing as “intList.swap(1,2);”

You can always create a new function.

If you have any questions like this, you can check out processing/java reference for “methods”.