Alternating Bits, Go-Back-N, and Selective Repeat protocol implementation