if i is not in c, adds 2
i
to c[0]
} p = power(2,i);
q = (c[0]/p)%2;
c[0] = c[0] + (1-q)*p;