 /// 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++){
+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

/*----(Function setup)----*/
void setup() {
    //Used to be able to add as many buttons as you want
    for(int setb = 0; setb < numOfButtons; setb++){
      pinMode(buttons[setb], INPUT); // sets All Input pin
     }


  Serial.print("Count = ");
   Serial.print(count);
    Serial.print(", |");

     for(short int a = 0; a < numOfCombos; a++){
      Serial.print(input[a]);   //Prints which number has been pressed
    }
  Serial.println();
}
