three-bit sliding window protocol