change AgentList vector to an array were agents are marked dead Look at me, look back at your code. Your vectors are now arrays.