 
 /*----(Function Reset)----*/
 void reset() {
-  for (short int inputIndex = 0; inputIndex < numOfCombos; inputIndex++) {
+  for (int inputIndex = 0; inputIndex < numOfCombos; inputIndex++) {
     input[inputIndex] = 0;   //Zeros the input array
   }
 

/// this for loop is here to be able to customize this code                 ///
/// to add any amount of combinations and buttons                           ///
///////////////////////////////////////////////////////////////////////////////
for(short int a = 0; a < numOfCombos; a++){
  if(input[a] != combination[a] && count == numOfCombos){
    digitalWrite(wrongLight, 1);   //Lights up the "red" button
     Serial.println("Wrong");   //Prints that the combination is wrong

int input[numOfCombos]; //Saves what the user has clicked
//

const int del = 10000;   //Timer(10s), if user inputs a number
                               //and not inputs another within 10 seconds program will reset
unsigned long time;
int buttonsRead[numOfButtons];   //Stores the "digitalRead()" of buttons[]
const int buttonStream = 2;   //Electricity for the buttons, didnt really know how to name this one so buttonStream it is
const int rightLight = 9;   //Correct combo PIN, "Green" light
const int wrongLight = 8;   //Incorrect combo PIN, "Red" Light
///
/*----(Function prototyping)----*/
void pressButton(int num, int digRead);
void reset();
void debug();

