if (switchOneState != lastSwitchTwoState && switchTwoState == HIGH) {
Why are you comparing the current state of the switch one pin to the previous state of the switch two pin?
if (switchOneState != lastSwitchTwoState && switchTwoState == HIGH) {
Why are you comparing the current state of the switch one pin to the previous state of the switch two pin?