working on flipBit fn

* Adding data big getter fn's to MessageSegment object
* Updating flipBit fn to use these getters
* Fixing flipBit unit test