slice function

Subset rows by position