csma with collision detection and arbitration on message priority