/**
 * Given a tuple 'tuples', start index and end index,
 * return a new tuple that contains the elements of
 * 'tuples' from start index up to (but not including)
 * the end index.
 */
fun sliceTuples(tuples: List<Any>, start: Int, end: Int): List<Any> {

    // Use subList to get the desired sub-list
    val result = tuples.subList(start, end)

    return result
}
/**
 * Given a tuple 'tuples', start index and end index,
 * return a new tuple that contains the elements of
 * 'tuples' from start index up to (but not including)
 * the end index.
 */
fun sliceTuples(tuples: List<Any>, start: Int, end: Int): List<Any> {
/**
 * Given a tuple 'tuples', start index and end index,
 * return a new tuple that contains the elements of
 * 'tuples' from start index up to (but not including)
 * the end index.
 */
fun sliceTuples(tuples: List<Any>, start: Int, end: Int): List<Any> {

    // Use subList to get the desired sub-list
    val result = tuples.subList(start, end)

    return result
}