fixed bug where tiles gave opposite answer if you checked if they were occupied; fixed bug in pathfinding where node was being compared to point, rather than point with point