Implemented shiftIn() and shiftOut()
Improve readability by using branching instructions.
Removing checks of binary parameter.
Merge pull request #22 from zfields/implemetShiftInOut

Implemented shiftIn() and shiftOut()