Why doesn't pin 9 blink?
It looks like your main problem is the loop in setup():

for(int i = 1; i&lt;9; i++)
    pinMode (i, OUTPUT);


This will call pinMode() with values 1 to 8 (inclusive), and then stop. That means you aren't configuring pin 9 as an output. You need to change the loop condition to i&lt;=9.

However, if your circuit diagram is accurate then you will have another problem. When implementing the circuit for real, you absolutely must have a suitable resistor in series with each LED (maybe something around 200 Ohms, depending on the exact specifications). If not, you seriously risk destroying the LEDs and maybe damaging your Arduino.