Nodes can no longer overlap

Changed so the new direction created in addNode is saved and actually
used