initial transition from vector to multi-dimensional array in AgentList
add typedefs for stl iterator implementation
fix bug based on dynamic end of agentList iterator