What does x++ mean exactly? The effect it has seems to be to add one to x, but I don't know if that's its only use.
Code:
for ( int x = 0; x < 10; x++  ) {
etc...