Hi
To configure LED0 port as output on your board use:
#define LED0 0x01
DDRTC |= (LED0);
The following will set the output to '1', then clear it to '0', then toggle it three times:
PORTIN_SETTC = (LED0);
CLEARTC = ~(LED0);
PORTTC ^= (PORT_TC_BIT0);
PORTTC ^= (PORT_TC_BIT0);
PORTTC ^= (PORT_TC_BIT0);
See the user's manual for the port definitions.
You can also use the uTasker project for educational work (it will allow you to start with complete working projects for Codewarrior and also simulate the chip without HW). You can also get detailed support at the uTasker forum: www.uTasker.com/forum/
However I thnk that it is your professor's job to teach you how to read the circuit diagrams and writing basic programs - I don't think people have the time to do this via a forum.
Regards
Mark
www.uTasker.com