Replaced QueueNode

Replaced with a modified verision of Node to add distance