Code for Team 3140 Flagship Robotics in the 2013 First Robotics Competition