slice function

Subset rows using their positions