Help with passing arrays to flashLEDs

I'm having a lot of trouble trying to understand what you are doing with the keypad in the code. What specifically is each of the keys suppose to do?