updated shiftReg class to have more arduino-esk methods to pin writing