While loop & Reset

  keypad.getKey();
  char key = keypad.getKey();
  Serial.println(key);

Read the keypad, and throw the value away. Read it again, and print the key being pressed, even if no key is being pressed. Why?

    while(1)
    {
      digitalWrite(IOXpin, LOW);
      delay(100);
      digitalWrite(IOXpin, HIGH);
      delay(100);
    }

If this statement is ever reached, the infinite loop is the only thing that the code will ever do. Not the greatest idea to not include a way to get out of this loop. Fortunately, the Arduino people did provide a way - the reset button.