const shortestPath = astar<T, V>(...)
T - a Position or Node/Location object. Must have a 'x' and 'y' property V - Represents information about the location can be any object or variable type given some constraints for each type
###Example
const shortestPath = astar<Node, string>(new Node(1,2),
new Node(3,4),
new Map<Node, string>().set(new Node(1,2), ' ').set(new Node(1,1), '#').set(new Node(3,4), 'X'));