def unsetbit(self, bit, vec):
    bit = (1 << bit)
    bit = (~ bit)
    vec = (vec & bit)
    return vec
def unsetbit(self, bit, vec):
    bit = (1 << bit)
    bit = (~ bit)
    vec = (vec & bit)
    return vec