made the optimalrobot (based on heuristic for max bounty/timestep)