Correct use of SubList with new extension method

New IList<T>.SubList(from, to) extension method allows easier
translation of java's subList calls.