fix A* path bug by adding DisableAllNodes function for disabling all the other nodes when adding new nodes

add pathnodes for the level