Added switch sensor for launchBall function

motor will move at half power until it hits the switch, then stops and
is ready to launch. The ball will not launch unless it is ready to fire
and the command is given