Added cases

Added cases for right/left turn and for when the robot is off the line
Testing and bit masks

Added testing for left turns (right doesn't need it now) and changed if
statements to use binary masks to remove cases.
Code compiles but hasn't been tested