Changing modes with one touch button; on-mode1-mode2-mode3-off-on-mode1, etc.

Depends on exactly what you want to achieve, but start with these:

http://arduino.cc/en/Reference/While

http://arduino.cc/en/Reference/For

http://arduino.cc/en/Reference/DoWhile

I recommend you find a C tutorial.