Problem making a wrap around loop with modulo

Thank you, that’s good advice. I will start doing this more going forward!!