Changing some things in the node class.
More work on nodes and pathfinding.