Initial -> Final
ABCD -> ABCD
For Collision (head-on collision and rotation ot 90 degree)
0110 -> 1001
1001 -> 0110
For Non-Collision
0000 -> 0000
0001 -> 1000
0010 -> 0100
0011 -> 1100
0100 -> 0010
0101 -> 1010
0111 -> 1110
1000 -> 0001
1010 -> 0101
1011 -> 1101
1100 -> 0011
1101 -> 1011
1110 -> 0111
1111 -> 1111