Code for 2013 competition robot