finished question 2 of multiagent