https://www.somethingsblog.com/2024/10/19/effortless-array-swapping-mastering-the-swapat-method/