* Fixed the BDIAgent so the planner can change the state
* Changed all distance astar so it can get number of edges