I would multiplex the lights in a 5 x 5 matrix (10 output pins). If you use LEDs then it's really easy, and if you keep the LED current to 35mA or less than you need no additional hardware except for 5 series resistors. The code will be very simple too because you are not trying to light more than one at a time.