robot task planning exercise