Researchers Create Algorithmic Planner for Delegating Tasks to Humans and Robots