Stepper.h library problem

Then, aside from a fault in the S2 switch, I can't think of a reason for your stepper to move 1/4 turn in 200 steps.