or if you want it in descrete components, here you go,
each cell has
1x NPN transistor
1x PNP transistor
3 1K resistors
1 switch to ground
1 diode
n-1 diodes, where n is the number of memory cells,
1 led,
This design is fairly immune to transistor gain variances,