rewrote simulate function to work with act/expU. added comments and names to make clear distinction between updating the internal state of the agent and updating the state of the world
rewrote simulate function to work with act/expU. added comments and names to make clear distinction between updating the internal state of the agent and updating the state of the world

jsalvatier/webppl-agents,agentmodels/webppl-agents,jsalvatier/webppl-agents,agentmodels/webppl-gridworld,agentmodels/webppl-gridworld,jsalvatier/webppl-agents,agentmodels/webppl-gridworld