Once the value in jerseys equals the value in players I want that iteration to stop, then continue onto the next value of j.
for (int j = 0; j < totaljerse