First Attempt at making a lock out game system. NEED HELP

hello everyone. I am trying to recreate a lockout game that I found on another site.

But when I upload the sketch. All I get is a sequence of the lights coming on and going off one by one. Any assistance would be greatly appreciated

/*
Quiz-O-Tron 3000 MCP
By Roy Rabey
Version 1.0 6-DEC-2010
*/

/*
Arrays to define the Arduino pin sets associated with the button boxes.
As defined below the first contestant button (element 0 from both arrays) uses pin 5 as input to detect a switch press and output pin 13 to drive the LED power control.
*/
int inputPins[4] = {5,4,3,2}; // The numbers of the switch pins.
int outputPins[4] = {13,12,11,10}; // The numbers of the LED pins.

// Some variables to control processing
int maxPins = 4; // Max number of pin sets
unsigned long WinDelayTime = 5000; // Number of milliseconds to light LEDs

void winner(int); // Function definition.

//
// Begin processing
//
void setup() {
/*
setup() is performed once when the Arduino is powered up or reset.
*/

   // Initialize the LED pins.
   // This tells the Arduino how the pins will be used.
   for(int p=0; p < maxPins; p++) {
     pinMode(inputPins[p], INPUT); // Make this an input pin.
     pinMode(outputPins[p], OUTPUT); // Make this an output pin.
   }
}


void loop(){
/*
The loop() function is executed after the setup() function completes.
As the name implies the loop() function loops forever or until the Arduino is reset.
*/

   int val = HIGH; // Used to determine if an input pin's state has changed.

   for(int p=0; p < maxPins; p++) {
     // Read the state of each input pin.
     val = digitalRead(inputPins[p]); // Reads value of the input pin.

     if (val == LOW){
       // If a pin goes LOW then someone pressed a button.
       winner(p); // Call the winner() function with winning pin set.
     }
   }
 }

void winner(int p){
   // Set the output pin HIGH to send power to the button's LED circuit.
   digitalWrite(outputPins[p], HIGH); // Turn the LEDs on

   // Wait WinDelayTime milliseconds
   delay(WinDelayTime);

   // Set the output pin LOW to kill power to the button's LED circuit.
   digitalWrite(outputPins[p], LOW); // Turn the LEDs off
}

Well discovered issue. needed to read instructions more clearly