-made code easier to read
-changed TA1CCR1 and TA1CCR2 timing to be different values
-removed case 4, as that could never be reached
    used a "wave1" flag to determine whether BIT1/BIT2 should be flipped
-set/reset P1.1 and P1.2 rather than toggled