[Pathfinding] Removed exists(). Changed nodeList to a set. Fixed some logic. Added JPS info.