Introduction - If you have any usage issues, please Google them yourself
This code implements two broadcast protocols, FLOOD and BCAST.
FLOOD is a simple flooding protocol: the first time a node receives
a packet, it is re-broadcast. BCAST is more optimized, keeping
track of 1-hop and 2-hop neighbors. Only packets that would reach
additional neighbors are re-broadcast.