beginner needs help

Ok, sorry, thought you had a Uno.

In which case, you can access the "extra" Mega pins from your programs just by using the relevant pin number. For example, digitalWrite(42, HIGH);

http://arduino-info.wikispaces.com/MegaQuickRef