Constructs an empty path.
Constructs a path with a hint to length (number of nodes in chain).
Constructs a path and sets the head node to the given node.