/**
 * This function generates random DNA sequences based on the given length and number of sequences.
 *
 * @param dnaLength An integer representing the length of each DNA sequence.
 * @param numSequences An integer representing the number of DNA sequences to generate.
 * @return A set containing the randomly generated DNA sequences.
 */
fun createDnaSequences(dnaLength: Int, numSequences: Int): Set<String> {

    val bases = listOf("A", "T", "C", "G")
    val dnaSequences = mutableSetOf<String>()

    repeat(numSequences) {
        var sequence = ""
        repeat(dnaLength) {
            sequence += bases.random()
        }
        dnaSequences.add(sequence)
    }

    return dnaSequences
}
/**
 * This function generates random DNA sequences based on the given length and number of sequences.
 *
 * @param dnaLength An integer representing the length of each DNA sequence.
 * @param numSequences An integer representing the number of DNA sequences to generate.
 * @return A set containing the randomly generated DNA sequences.
 */
fun createDnaSequences(dnaLength: Int, numSequences: Int): Set<String> {
/**
 * This function generates random DNA sequences based on the given length and number of sequences.
 *
 * @param dnaLength An integer representing the length of each DNA sequence.
 * @param numSequences An integer representing the number of DNA sequences to generate.
 * @return A set containing the randomly generated DNA sequences.
 */
fun createDnaSequences(dnaLength: Int, numSequences: Int): Set<String> {

    val bases = listOf("A", "T", "C", "G")
    val dnaSequences = mutableSetOf<String>()

    repeat(numSequences) {
        var sequence = ""
        repeat(dnaLength) {
            sequence += bases.random()
        }
        dnaSequences.add(sequence)
    }

    return dnaSequences
}