Switching a relay on & off using a momentary push button

CrossRoads:
Aren't the analog pins something like D54 & up?
So he can read them, they just need to be referenced correctly.

http://arduino.cc/en/Hacking/PinMapping2560

But of course they are. In the MEGA2560, pin A0 is the same as 54, A1==55, etc.

I don't have any use for analog pins so I use them as regular digital I/O pins.

And you can either say:

digitalWrite(A0,HIGH);
or
digitalRead(A0);
digitalWrite(A0,HIGH);

or

digitalWrite(54,HIGH);
or
digitalRead(54);
digitalWrite(54,HIGH);

it doesn't matter. I prefer the latter for using in for loops.