Code for autonomous robot 2014