N@Network ID Assigner
I@A B C D On 
O@A B C D Channel1 Channel2 Channel3 Self
On==0 -> Self=A=B=C=D=0;
Channel1=-100
Channel2=-101
Channel3=-102
On==0 -> Self=0,A=B=C=D=0;
Self==1 & A==0 -> A=1;
On==1 & Self==0 & A==0 ? Self=A=1 : A=A
Self==2 & B==0 -> B=2;
On==1 & Self==0 & B==0 ? Self=B=2 : B=B
Self==3 & C==0 -> C=3;
On==1 & Self==0 & C==0 ? Self=C=3 : C=C
Self==4 & D==0 -> D=4;
On==1 & Self==0 & D==0 ? Self=D=4 : D=D
