Spencer, there is a simple way to think about mods (the way it's defined in mathematics, not programming). It's actually rather straightforward:
Take all the integers:
...-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ...
Now let's think about multiples of 3 (if you are considering mod 3). Let's start with 0 and the positive multiples of 3:
...-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ...
These are all the numbers that have a remainder of zero when divided by 3, i.e. these are all the ones that mod to zero.
Now let's shift this whole group up by one.
...-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ...
These are all the numbers that have a remainder of 1 when divided by 3, i.e. these are all the ones that mod to 1.
Now let's shift this whole group up again by one.
...-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ...
These are all the numbers that have a remainder of 2 when divided by 3, i.e. these are all the ones that mod to 2.
You'll notice that in each of these cases, the selected numbers are spaced out by 3. We always take every third number because we're considering modulo 3. (If we were doing mod 5, we'd take every fifth number).
So, you can carry this pattern backwards into the negative numbers. Just keep the spacing of 3. You'll get these three congruence classes (a special type of equivalence classes, as they're called in mathematics):
...-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ...
...-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ...
...-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ...
The standard mathematical representation of all of these equivalent numbers is to use the residue of the class, which just means take the smallest non-negative number.
So usually, when I'm thinking about mods and I'm dealing with a negative number, I just think of successively adding the modulo number again and again until I get the first 0 or positive number:
If we're doing mod 3, then with -1, just add 3 once: -1 + 3 = 2.
With -4, add 3 twice because once isn't enough. If we add +3 once, we get -4 + 3 = -1, which is still negative. So We'll add +3 again: -1 + 3 = 2.
Let's try a larger negative number, like -23. If you keep adding +3, you'll get:
-23, -20, -17, -14, -11, -8, -5, -2, 1. We got a positive number, so we stop. The residue is 1, and this is the form that mathematicians typically use.