Debugging... Not working :(

I think I need a modulo math refresher.