Say I'm incrementing or decrementing an index which I'll use to move through an array.
The array starts at index 0, and ends at index 4. If I'm at index 0 and want to move back 1 index, I should end up at index 4 (wraps around).
This is probably extremely simple, but for some reason I just can't come up with a formula that would give me this result. "wrap around addition" was pretty straight forward: index % 5 + 1, but I just can't figure out subtraction.