Path(pathId: Long, nodes: List<Node>)
Creates a Path with an ID and a list of nodes. The list of nodes should have at least two nodes.
Constructor Creates a Path with an ID and a list of nodes. The list of nodes should have at least two nodes.