Added a list of length 4 to hold the stepper motors sequence.  The list is then iterated over forwards and backwards to move the motor.