added Makefile and debug line to agentbased.cpp