get_agent_x_list function

Get the agent's x-list