Pins are, by default INPUT. Input pins are very dim when you connect an LED to them. Make them OUTPUT, and they will be brighter.
Note that in the for loop(), the body will not be executed when i is 8 or more, so the if test for i = 8 will never be true.
The loop function is called in an endless loop, so diddling with the for loop index that way is not a good idea.