HELP !! Arduino Board and Accelerometer Sensor

Which accelerometer?

we have a project about 4 Leds react

About 4? Not 3? Not 5? would 4.3 be close enough?

How should the LEDs react? Does exploding in anger count? Cowering in the corner?

Example the led in XYZ axis.

Most accelerometers do not have an XYZ axis. They have an X axis, a Y axis, and a Z axis. Which accelerometer do you have that has an XYZ axis? What are the other axes?

How to start the code

I shouldn't, but I will:

// include files go here

// global values go here

void setup()
{
   // stuff that happens once goes here
}

void loop()
{
   // stuff that happens over and over goes here
}

and the schematic diagram.