hi, i was reading this just now:
http://arduino.cc/en/Reference/Modulo
this bit of code got to me though
x = 7 % 5; // x now contains 2
x = 9 % 5; // x now contains 4
x = 5 % 5; // x now contains 0
x = 4 % 5; // x now contains 4
judging by the rest, should that last line be // x now contains 1?