Keypad Led Sequence puzzle

greengoatman:
I want to have say 5 leds that light up as you press the right button but if you mess up the leds reset.

Hope you realise you do make it very easy to brute force the password.

how difficult would this be for a beginner programmer

Depends on how good you are in getting an understanding of how the current code you have works exactly. It appears to be a simple matter of increasing the numbers from 3 to 5 and increasing the length of the password string but haven't studied it in detail.