Small wiringPi program to move a stepper motor x degrees after a signal