Stepper Kill Switch

Sorry.
I have been following this tutorial; Easy Driver Examples
and have been trying to adapt the button tutorial on the Arduino website to fit my needs