Added a method called addNode(Node,List) to the interface PathDefiner.

This allows for sorted and unsorted lists used by A* and Dijkstra algorithms respectively. Before the list was unsorted and this impacted performance on A* algorithms.