The idea of the code was to start the count incrementing as a base ten integer. That number would then get turned into a four bit binary number by way of a string. The next function was to recognize the ones and zeros of that string as highs and lows. Then the last function was to output those high and lows to the corresponding pins.