/**
 * Given a DNA sequence as a string and start and end indices,
 * extract and return the DNA sequence between the specified indices.
 */
fun extractSequence(string: String, startIndex: Int, endIndex: Int): String {

    val sequence = string.substring(startIndex, endIndex)
    return sequence
}
/**
 * Given a DNA sequence as a string and start and end indices,
 * extract and return the DNA sequence between the specified indices.
 */
fun extractSequence(string: String, startIndex: Int, endIndex: Int): String {
/**
 * Given a DNA sequence as a string and start and end indices,
 * extract and return the DNA sequence between the specified indices.
 */
fun extractSequence(string: String, startIndex: Int, endIndex: Int): String {

    val sequence = string.substring(startIndex, endIndex)
    return sequence
}