Committing v0.1 of the code.
Needs to have proper logic for the left and the right male/ female connectors identification.
WA
AC.
Basic logic is to count the # of FM connectors, FF and MM connectors.
If total # of connectors is 1, then no loop.
else If # of FF connectors == # of MM connectors, then loop.