cutsplits function

Splits for cutting by values of a numeric variable