Implemented getClosestPlayer method
Fixed pathfinding to ignore dead player