Struggling with switching Arduino and Random numbers

That code dear Henry will not turn on one LED at random, but will turn on a random number of LEDs on.