if(buttonPin1 == HIGH){
You've give buttonPin1 the value 1 - it is always HIGH.
Try reading the pin denoted by buttonPin1.
buttonPin2 has the value 2, so can never be HIGH, or LOW.
if(buttonPin1 == HIGH){
You've give buttonPin1 the value 1 - it is always HIGH.
Try reading the pin denoted by buttonPin1.
buttonPin2 has the value 2, so can never be HIGH, or LOW.