Creates a new sub path that includes all cells from this path starting at from (inclusive) to to (inclusive).
Return
a new sub path from from to to
Parameters
the index position at which the sub path should start
the index position at which the sub path should end
Throws
if to or from are greater than the length of this path