Co-ordinating Plans of Autonomous Agents