My advice would be to grab the default code from InnovationFIRST's website (
http://www.innovationfirst.com) and go through it line-by-line until you understand it.
After that, I'd try playing around with my emulator (
http://FIRSTprograms.tripod.com/Programs.htm) and see what comes out. If you ever run into problems, post them here and you'll get an answer in a few hours at the most.
Also, if you feel like a challenge, here is the code we used last year:
http://FIRSTprograms.tripod.com/cog2002.txt