I think you may have misunderstood the purpose of the forum. It is to help people learn, not to have their homework done for them. When you've started and you're really stuck, come back and we'll help.
Hint: Spending 15 minutes looking at Processing doesn't qualify as "stuck".[/edit]
It's funny, I never quite understood the syntax of the "for" loop, particularly the empty one. The first two statements are clearly C statements - even if empty, they end with semicolons, but the third..? :-? ;D