bug-fix in progress

essentially updates the x/y positions of the player and npc to replicate
the infinite loop bug in pathfinding function.