Wrote bitstuffer(not tested)