Lighting up an LED after entering a "password"

Masqqq:
What I need though is when I type 'A' the first led lights up, when I type 'B' the second led lights up and so on, and when I type A B C D separately in that order the 5th led lights up and I can't seem to find a way.

I know what you want. The program I posted was to help you understand the techniques needed to do what you want but I see from your other thread Help with making a LED light up with a specific password - Programming Questions - Arduino Forum that you want someone to write it for you but I will not be doing that.