       reset();
     }
 
-short int value = 0;   //how many combos are correct
-for(short int a = 0; a < numOfCombos; a++){
+int value = 0;   //how many combos are correct
+for(int a = 0; a < numOfCombos; a++){
     if(input[a] == combination[a]){   //Checks if the input and the combo are the same
      value++;   //Adds one if combo is correct
     }

//////////////////////////////////////////////////////

//Function pressButton, If user presses a Button
void pressButton(short int num, short int digRead){
  if (digRead == 1 && doonce != true) { // If I hit a Button
   time = millis();   //Starts the 10 second timer
    input[count] = num + 1; // sends the number 1 into the array at the "count number"
     count++; // Where to put 4 into the array
      doonce = true;
    }
    short int exists;

      for(short int a = 0; a < numOfButtons; a++){
        if(buttonsRead[a] == 0){
          exists++;
        }

/// this for loop is here to be able to customize this code                 ///
/// to add any amount of combinations and buttons                           ///
///////////////////////////////////////////////////////////////////////////////
for(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
