Minor fixes and changes.

- Leader now creates agents based on number of goals.
- Goals passed to Agents by Leader
- Fixed bug with Leader awaiting confirmation from agent carrying out a
task.