My java project on Alternating-Bit-Protocol