worked on AgentLogic.handlePercept ´, which merges a single percept into the state. Still missing: testing, deducing the cost of a vertex from how much energy has been spent on moving over it