Updated Autonomous

Added extra code that checks for the third peg, and runs a code
block only when the infrared beacon is in the third position.

The contents of this code block are incomplete: they work, but only
sometimes.
Merge branch 'develop'