Implemented ModifyGivenBit