added shift register class and add shift register methods to stepMotor class